Total Complexity | 207 |
Dependencies | 27 |
Dependents | 0 |
Total lines | 1,041 |
Lines of code | 680 |
Logical lines of code | 359 |
Comment lines | 165 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
createPaymentLink() | 70 | 185 | ||
processPayment() | 29 | 25 | 135 | |
calculateAppointmentPrice() | 38 | 26 | 60 | |
getPaymentsData() | 38 | 21 | 59 | |
getBookingInformationForPaymentSettings() | 39 | 18 | 63 | |
getAvailablePayments() | 48 | 16 | 35 | |
hasRelatedRefundablePayment() | 53 | 8 | 23 | |
delete() | 46 | 5 | 43 | |
isAllowedOnSitePaymentMethod() | 59 | 6 | 13 | |
getFullStatus() | 54 | 3 | 24 | |
updateBookingPaymentDate() | 62 | 3 | 12 | |
insertPaymentFromLink() | 57 | 2 | 16 | |
setPaymentTransactionId() | 66 | 3 | 9 | |
__construct() | 81 | 1 | 3 |